/**   
 * @Title: Wrapper.java 
 * CopyRight(c)2010-DMX 
 */
package com.dmx.fw.web.util;

import freemarker.ext.beans.BeansWrapper;
import freemarker.template.TemplateHashModel;
import freemarker.template.TemplateModel;
import freemarker.template.TemplateModelException;

public class Wrapper implements TemplateHashModel {

	private TemplateHashModel staticModels = BeansWrapper.getDefaultInstance().getStaticModels();

	public TemplateModel get(String arg0) throws TemplateModelException {
		return staticModels.get("com.bee.rm.web.util."+arg0);  
	}

	public boolean isEmpty() throws TemplateModelException {
		return false;
	}
    
}
